package com.hzy.alibaba.service;

import com.hzy.alibaba.entity.DomainBo;

public interface GeneratorService {

    void initTableInfo();

    /**
     *
     * @throws Exception
     */
    void startManagementCreate() throws Exception;

    /**
     * 实体类
     * @param domain
     * @param templateName
     * @param isKey
     */
    void buildManagement(DomainBo domain, String templateName, Boolean isKey);

    /**
     * xml文件
     * @param domain
     * @param templateName
     */
    void buildManagementMapperXml(DomainBo domain, String templateName);

    /**
     * mapper文件
     * @param domain
     * @param templateName
     */
    void buildManagementMapper(DomainBo domain, String templateName);

    /**
     * service接口
     * @param domain
     * @param templateName
     */
    void buildManagementService(DomainBo domain, String templateName);

    /**
     * service实现
     * @param domain
     * @param templateName
     */
    void buildManagementServiceImpl(DomainBo domain, String templateName);

    /**
     * controller
     * @param domain
     * @param templateName
     */
    void buildManagementController(DomainBo domain, String templateName);
}
